package com.szjk.app;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
//import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
//@EnableEurekaClient // 注册客户端
@EnableDiscoveryClient
@EnableFeignClients // 开启openFign 客户端，扫描@FeignClient, 生成JDK动态代理后，生成RequestTemplate, 后处理request请求，调用服务接口
public class ServiceAreaPlatformAppApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServiceAreaPlatformAppApplication.class, args);
    }

}
